#include <iostream>

using namespace std;

class Point {
public:
	Point() { this->x = this->y = 0.0; }
	Point(double x, double y) {
		this->x = x;
		this->y = y;
	}

	void setX(double x) { this->x = x; }
	double getX() { return this->x; }
	void setY(double y) { this->y = y; }
	double getY() { return this->y; }
private:
	double x;
	double y;
};

int main(void)
{
	Point p;
	Point* p1 = new Point(2.5, 3.6);
	cout << "(" << p.getX() << ", " << p.getY() << ")" << endl;
	cout << "(" << p1->getX() << ", " << p1->getY() << ")" << endl;

	return 0;
}
